package com.zara.store.common;

import java.io.Serializable;
import java.math.BigDecimal;


public class PalcItemVO implements Serializable { //TODO: esta clase es exactamente = a InvoiceItem ver si usamos jerarquia

	private static final long serialVersionUID = 1L;
	
	private Integer productId; // xstream
	private BigDecimal amount;
	private String barcode;

	public BigDecimal getAmount() {
		return amount;
	}
	public Integer getProductId() {
		return productId;
	}
	public String getBarcode() {
		return barcode;
	}
	public PalcItemVO(int productId, BigDecimal amount) {
		super();
		this.productId = productId;
		this.amount = amount;
	}
	public PalcItemVO(String barcode, BigDecimal amount) {
		super();
		this.barcode = barcode;
		this.amount = amount;
	}

}
